<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form th:action="@{/updateWareHouse}" method="post" enctype="multipart/form-data">
    <input type="hidden" name="warehouseId" th:value="${warehouse.warehouseId}">
    商品： <input type="text" name="goodsName"  th:value="${warehouse.goodsName}"><br>
    价格：<input type="text" name="goodsPrice" th:value="${warehouse.goodsPrice}"><br>
    库存：<input type="text" name="sum" th:value="${warehouse.sum}"><br>
    是否修改图片：<input type="file" name="photo"><br>
    <input type="submit" value="修改">
</form>
</body>
</html>